<?php

$this->view->mod = $this->_request->getModuleName();
        //truyen bien mod ra view mod la module
        
        
        //Khai bao su dung Layout
        $op = array(
                    'layout' => 'layout',
                    'layoutPath' =>"./public/default/"
                    );
        Zend_Layout::startMVC($op);
        
         $m = new Qtadmin_Model_Menu;
        $this->view->menu = $m->getOn();
        
        $m1 = new Qtadmin_Model_Category;
        $this->view->cate = $m1->getAll();